<?php
namespace app\index\controller;
use app\BaseController;
use think\facade\View;
use app\common\model\mysql\CarUser;

class  Index  extends BaseController
{
    public function welcome()
    {
        $carUserModel = new CarUser();
        $userList = $carUserModel->getCarUserList();
        View::assign('user',$userList);
        return View::fetch();
    }


    public function getTable(){
        dump($this->request->type);
    }
}